<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title><%= @page_title || 'Empower Artists SET MY TITLE VARIABLE!!!!' %></title>
		<%= stylesheet_link_tag 'reset-fonts-grids'%>
	  <%= stylesheet_link_tag 'default' %>
		<%= stylesheet_link_tag 'admin' %>
		<%= javascript_include_tag :defaults %>
	</head>
	<body>			
		<div id="doc" class="yui-t1">
			<div id="hd">
			  <div style="float:right;text-align:center;">
        <strong><%= current_user.email %></strong> |
        			  <%= link_to('View site', '/')%> <br />
        <% if current_user.has_role? :superadmin then %> 
          <%= link_to 'Superadmin', superadmin_path %> |
        <% end %> 
        <%= link_to User.l_attr(:logout), logout_url %>
        </div>
		<h1> <%= link_to l("main header"), admin_url %> </h1>				
			</div>
			<div id="bd">
				<div id="yui-main">
					<div class="yui-b">
					<% if flash[:notice] %>
						<p class="flashNotice"><%= flash[:notice] %></p>
          <% end %>
          <% if flash[:error] %>
            <p class="flashError"><%= flash[:error] %></p>
          <% end %>
						<div id="content">
							<%= yield  %>
						</div>
					</div>
				</div>
				<div class="yui-b" id="nav">
					<%= render :partial => "layouts/admin_navigation" %>
				</div>
			</div>	
			<div id="ft">
				<small> &raquo; &copy; &laquo; 2008 Djahmk</small>
			</div>	
		</div>
	</body>
</html>
